home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 45
/
Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso
/
Aminet
/
game
/
role
/
ldmud-3.2-bin.lha
/
mud
/
doc
/
master
/
prepare_destruct
< prev
next >
Wrap
Text File
|
2001-04-06
|
908b
|
23 lines
SYNOPSIS
mixed prepare_destruct(object obj)
DESCRIPTION
Prepare the destruction of the object obj. Return 0 if the
object is ready for destruction, any other value will abort
the attempt. If a string is returned, an error with the string
as message will be issued.
The interpreter calls this function whenever an object shall
be destructed. It expects, that this function cleans the
inventory of the object, or the destruct will fail.
Furthermore, the function could notify the former inventory
objects that their holder is under destruction (useful to move
users out of rooms which re updated); and it could announce
systemwide the destruction(quitting) of users.
Strange things will happen if the mastor object does not
provide this function.
SEE ALSO
remove_player(M), destruct(E)